<%@ include file="/taglibs.jsp"%>
<head>
    <title><fmt:message key="file-detail-extent-permission-construction.form.title"/></title>
     <link rel="stylesheet" type="text/css" href="${ctx}/styles/displaydetail.css" title="default" />
</head>
<table>
		<tr>
		    <td>&nbsp;</td>
		    <td>
		    	<s:url action="listFilePublicAdmin" var="backTolistFilePublicAdminListURL"></s:url>
		    	<s:a href="%{backTolistFilePublicAdminListURL}" >
		    		<img src="${ctx}/images/btn_cancel_link.png">
		    	</s:a>
		    </td>
		    <td>
		    	<s:url action="deleteFilePublicAdministration" var="deleteFilePublicAdminURL">
					<s:param name="id" value="%{id}"></s:param>
					<s:param name="type" value="%{type}"></s:param>
		    	</s:url>
		    	<s:a href="%{deleteFilePublicAdminURL}" >
		    		<img src="${ctx}/images/btn_delete_link.png">
		    	</s:a>
		    </td>
		    <s:if test="%{fileGiaHanCPXD.received == false}">
			    <td>
			    	<s:url action="receiveFilePublicAdministration" var="receiveFilePublicAdminURL">
						<s:param name="id" value="%{id}"></s:param>
						<s:param name="type" value="%{type}"></s:param>
			    	</s:url>		    
			    	<s:a href="%{receiveFilePublicAdminURL}" >
			    		<img src="${ctx}/images/btn_receipt_link.png"> 
			    	</s:a>
			    </td>
		    </s:if>
		    <td>
		    <s:url action="%{'exportForm!exportGPXD_GH.html'}" var="exportVoucherURL">
					<s:param name="formId" value="%{id}"></s:param>
				</s:url>
				<c:if test="${not empty param.id}">
					<s:a href="%{exportVoucherURL}">
						<img src="${ctx}/images/export_word.png">
					</s:a>
				</c:if></td>
				
				
				<td><s:url action="showInformMessage" var="linkInformMessage">
				<s:param name="id" value="%{id}"></s:param>
				<s:param name="type" value="%{type}"></s:param>
			</s:url> <c:if test="${not empty param.id}">
				<s:a href="%{linkInformMessage}">
					<img src="${ctx}/images/btn_send_message_link.png">
				</s:a>
			</c:if></td>
		</tr>
	</table>
<fieldset>
		    <legend><s:text name="online.detailform.label.information"></s:text>:</legend>
		    <div class="container">
				<div class="grid_1"><p><s:text name="filePublicAdmin.ten_lien_he"></s:text>: </p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.ten_lien_he"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.email"></s:text>: </p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.email"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			</div>
		</fieldset>
		<fieldset>
		    <legend><s:text name="online.detailform.label.field.information"></s:text>:</legend>
		    <div class="container">
		    	<div class="grid_1"><p><s:text name="filePublicAdmin.fileCode"></s:text>: </p></div>
			    <div class="grid_2"><p><s:property value="fileGiaHanCPXD.fileCode"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.loai_thu_tuc"></s:text>: </p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.thu_tuc"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.ngay_nop"></s:text>: </p></div>
				<div class="grid_2"><p><s:set var="inputDate" value="fileGiaHanCPXD.ngay_nop" scope="request"></s:set><fmt:formatDate value="${inputDate}" pattern="${datePattern}" />&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				
			</div>
		</fieldset>
	<fieldset>
	    <legend><s:text name="detailForm.header"></s:text>:</legend>
		    <div class="container">
				<div class="grid_1"><p><s:text name="filePublicAdmin.ho_ten"></s:text>:</p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.ho_ten"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.cmnd_so"></s:text>:</p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.cmnd_so"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.cmnd_donvi_cap"></s:text>:</p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.cmnd_donvi_cap"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.cmnd_ngay_cap"></s:text>:</p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.cmnd_ngay_cap"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.dia_chi"></s:text>:</p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.dia_chi"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.so_nha"></s:text>:</p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.so_nha"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.duong"></s:text>:</p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.duong"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.phuong"></s:text>:</p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.phuong"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.quan"></s:text>:</p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.quan"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.thanh_pho"></s:text>:</p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.thanh_pho"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.dien_thoai"></s:text>:</p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.dien_thoai"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.chu_cong_trinh"></s:text>:</p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.chu_cong_trinh"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.ct_so"></s:text>:</p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.ct_so"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.ct_duong"></s:text>:</p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.ct_duong"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.ct_phuong"></s:text>:</p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.ct_phuong"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.ct_quan"></s:text>:</p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.ct_quan"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.donvi_cap"></s:text>:</p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.donvi_cap"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.gpxd_so"></s:text>:</p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.gpxd_so"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.gpxd_ngay_cap"></s:text>:</p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.gpxd_ngay_cap"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
				<div class="grid_1"><p><s:text name="filePublicAdmin.gpxd_ly_do_gia_han"></s:text>:</p></div>
				<div class="grid_2"><p><s:property value="fileGiaHanCPXD.gpxd_ly_do_gia_han"/>&nbsp;</p></div>
				<div class="clear">&nbsp;</div>
			</div>
	</fieldset>
	<fieldset>
		<legend><s:text name="online.form.attachfiletable.title"></s:text>:</legend>
	 	<s:set name="lstFileAttachments" value="fileGiaHanCPXD.fileAttachments" scope="request"/>
			    
			    <display:table name="lstFileAttachments" class="table" id="attachFileDetail" partialList="false">
				    <display:column titleKey="attachFile.attachFileName">
				    	<a href="${attachFileDetail.url}">${attachFileDetail.fileName}</a>
				    </display:column>
				</display:table>
	</fieldset>		
	
	<c:if test="${not empty fileGiaHanCPXD.notify_message}">
		<fieldset>
			<legend><s:text name="online.form.notify"></s:text>:</legend>
			<s:property value="%{fileGiaHanCPXD.notify_message}"/>	    
		</fieldset>
	</c:if>
		
	<table>
		<tr>
		    <td>&nbsp;</td>
		    <td>
		    	<s:url action="listFilePublicAdmin" var="backTolistFilePublicAdminListURL"></s:url>
		    	<s:a href="%{backTolistFilePublicAdminListURL}" >
		    		<img src="${ctx}/images/btn_cancel_link.png">
		    	</s:a>
		    </td>
		    <td>
		    	<s:url action="deleteFilePublicAdministration" var="deleteFilePublicAdminURL">
					<s:param name="id" value="%{id}"></s:param>
					<s:param name="type" value="%{type}"></s:param>
		    	</s:url>
		    	<s:a href="%{deleteFilePublicAdminURL}" >
		    		<img src="${ctx}/images/btn_delete_link.png">
		    	</s:a>
		    </td>
		    <s:if test="%{fileGiaHanCPXD.received == false}">
			    <td>
			    	<s:url action="receiveFilePublicAdministration" var="receiveFilePublicAdminURL">
						<s:param name="id" value="%{id}"></s:param>
						<s:param name="type" value="%{type}"></s:param>
			    	</s:url>		    
			    	<s:a href="%{receiveFilePublicAdminURL}" >
			    		<img src="${ctx}/images/btn_receipt_link.png"> 
			    	</s:a>
			    </td>
		    </s:if>
		    <td>
		    <s:url action="%{'exportForm!exportGPXD_GH.html'}" var="exportVoucherURL">
					<s:param name="formId" value="%{id}"></s:param>
				</s:url>
				<c:if test="${not empty param.id}">
					<s:a href="%{exportVoucherURL}">
						<img src="${ctx}/images/export_word.png">
					</s:a>
				</c:if></td>
				
				
				<td><s:url action="showInformMessage" var="linkInformMessage">
				<s:param name="id" value="%{id}"></s:param>
				<s:param name="type" value="%{type}"></s:param>
			</s:url> <c:if test="${not empty param.id}">
				<s:a href="%{linkInformMessage}">
					<img src="${ctx}/images/btn_send_message_link.png">
				</s:a>
			</c:if></td>
		</tr>
	</table>





